import request from '@/utils/request';
// 课程列表
export function courseList(data) {
  return request({
    url: '/dev-api/api/ManagerClassroom/list',
    method: 'get',
    params: data,
  });
}
// 视频截取课程封面
export function imageUpload(data) {
  return request({
    headers: {
      'Content-Type': 'multipart/form-data', // 设置请求头
    },
    url: '/dev-api/api/index/imageUpload',
    method: 'post',
    data
  });
}